<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>博客个人管理系统</title>
    <link rel="stylesheet" href="layui-v/layui/css/layui.css">
    <script src="layui-v/layui/layui.js" type="text/javascript"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">后台管理</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="">控制台</a></li>
            <li class="layui-nav-item"><a href="">消息管理</a></li>
            <li class="layui-nav-item"><a href="">用户</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">其它系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="">邮件管理</a></dd>
                    <dd><a href="">信息管理</a></dd>
                    <dd><a href="">授权管理</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="../img/1%20(82).jpg" class="layui-nav-img">
                    海浪
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="">退了</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="01home.php">所有消息</a>
                </li>
                <li class="layui-nav-item"><a href="01home.php">发布消息</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="layui-card-body ">
            <div class="layui-form layuimini-form">


                <form action="upload.php" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">ID</label>
                        <div class="layui-input-block">
                            <input type="number" name="ID" lay-verify="required" lay-reqtext="ID不能为空" placeholder="请输入ID" value="" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label required">用户名</label>
                        <div class="layui-input-block">
                            <input type="text" name="username" lay-verify="required" lay-reqtext="用户名不能为空" placeholder="请输入用户名" value="" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">备注信息</label>
                        <div class="layui-input-block">
                            <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息"></textarea>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button type="submit" class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn" id="div">发布并关闭窗口</button>&nbsp; &raquo;
                            &nbsp;
                            <button type="submit" class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn" id="div1">发布并继续发布</button>
                        </div>
                    </div>
                </form>
            </div>
            <script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>

            <table id="demo" class="layui-hide"></table>
            <div id="pageUD"></div>
        </div>
    </div>

    <div class="layui-footer">
    </div>
</div>

<script src="js/jquery.min.js"></script>

<script>
        $('#div').on('click',function(){
            if(confirm('你确定关闭页面吗')){
                window.location.href="01home.html";
            }else{

            }
        })
        function closewin(){
            self.opener=null;
            self.close();
        }

        $(function () {
            $("#div1").click(function () {
                location.reload(true);
            });

        });

</script>




<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
</body>
</html>
